/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.etop.ondoc.dao;

/**
 *
 * @author jansing
 * lz_jansing@163.com
 */
public class DaoFactory {
    private static final DocumentDao docuDao = new DocumentDao();
    private static final CategoryDao cateDao = new CategoryDao();
    private static final UserDao userDao = new UserDao();
    public static DocumentDao getDocumentDao(){
        return docuDao;
    }
    public static CategoryDao getCategoryDao(){
        return cateDao;
    }
    public static UserDao getUserDao(){
        return userDao;
    }
}
